import { EntitySchema } from '@mikro-orm/core';

export class TypechoRelationships {
  cid!: number;
  mid!: number;
}

export const TypechoRelationshipsSchema = new EntitySchema({
  class: TypechoRelationships,
  properties: {
    cid: { primary: true, type: 'number' },
    mid: { primary: true, type: 'number' },
  },
});
